package com.chb.service.controller;


import com.chb.service.IMessageProvider;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SendMessageController {



    @Resource
    private IMessageProvider iMessageProvider;

    @RequestMapping("send")
    public String sendMessage(){


        return iMessageProvider.send();
    }


}
